package service.impl;

import pojo.User;
import dao.UserDao;
import dao.factory.DaoFactory;
import service.UserManager;

public class UserManagerImpl implements UserManager {
	
	private UserDao userDao;
	
	public UserManagerImpl(){
		userDao = DaoFactory.getInstance();
	}
	
	public User findByName(String name){
		return userDao.findByName(name);
	}
	
	
}
